package com.cqut.entity;

public class elective {
    private String cno;
    private String cname;
    private String teacher;
    private int credit;
    private String caddress;
    private String week;
    private String cday;
    private String cstime;
    private String cetime;
    private int number;

    public String getCno() {
        return cno;
    }

    public void setCno(String cno) {
        this.cno = cno;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    public String getCaddress() {
        return caddress;
    }

    public void setCaddress(String caddress) {
        this.caddress = caddress;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getCday() {
        return cday;
    }

    public void setCday(String cday) {
        this.cday = cday;
    }

    public String getCstime() {
        return cstime;
    }

    public void setCstime(String cstime) {
        this.cstime = cstime;
    }

    public String getCetime() {
        return cetime;
    }

    public void setCetime(String cetime) {
        this.cetime = cetime;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "option{" +
                "cno='" + cno + '\'' +
                ", cname='" + cname + '\'' +
                ", teacher='" + teacher + '\'' +
                ", credit=" + credit +
                ", caddress='" + caddress + '\'' +
                ", week='" + week + '\'' +
                ", cday='" + cday + '\'' +
                ", cstime='" + cstime + '\'' +
                ", cetime='" + cetime + '\'' +
                ", number=" + number +
                '}';
    }
}
